package com.zyl.Ecs.realtime.client;

import com.zyl.Ecs.common.domain.auth.vo.AccountVO;
import com.zyl.Ecs.common.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @version v1.0
 * @ProjectName: Ecs
 * @Package: com.zyl.Ecs.realtime.client
 * @ClassName: AuthClient
 * @Description TODO
 * @Author 翟玉龙
 * @Date 2024/12/6-21:26
 */
@FeignClient(value = "ecs-rbac")
public interface AuthClient {

    /**
     * 获取用户信息
     *
     * @return {@link Result }<{@link AccountVO }>
     */
    @GetMapping("/rbac/auth/userInfo")
    Result<AccountVO> userInfo();

}
